Read Macros

The following # macros are introduced in KCL.

#"
#" string " reads a pathname.
#" string " is equivalent to ((pathname " string ").

#$
#$integer reads a random state.
#$integer is equivalent to (make-random-state integer ) .

The # macro `#,' works as described in the Common Lisp Reference Manual , only if it is included in a constant object. The forms immediately after `#,' below will be evaluated when the compiled code is loaded.

     '#,x
     '(a b c (d #,e f) g)
     #(1 2 3 #,(+ a b c) 5 6)
     #C(0.0 #,(exp 1))

Otherwise, the effect of using `#,' is unpredictable. Note that, when interpreted code is loaded, `#,' has the same effect as the # macro `#.'.